import { IRoute } from '@/utils/navigator';

const routes: {[key: string]: IRoute<{mustLogin: boolean}>} = {
  home: {
    name: '首页',
    path: '/pages/home/index',
    meta: { mustLogin: true }
  },
  login: {
    name: '登录页面',
    path: '/pages/login/index',
    meta: { mustLogin: true },
    beforeRouteEnter: [],
    beforeRouteLeave: []
  }
}

export default routes;
